package com.oss.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.oss.entity.BaseEntity;
import com.oss.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author chengqiang
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "sys_role_rights")
public class RoleRights extends BaseEntity implements Serializable {
    @TableId(value = "rightsId", type = IdType.NONE)
    // 权限ID
    private String rightsId;
    // 角色ID
    private String roleId;
}
